
package com.seekting.gongzhu.sdk;

public class Info {
    public static final String UDP_GET_IP_REQUEST = "get_ip";
    public static final int UDP_GET_IP_REQUEST_LENGTH = UDP_GET_IP_REQUEST.getBytes().length;
    public static final int HOST_PORT = 8081;
    public static final int UDP_PORT = 8082;
    public static final int UDP_LOCAL_PORT = 8083;
    private int MAX_JION_SIZE = 4;

    public static class Action {

        public static final String TYPE = "type";
        public static final int SET_ROLE = 1;
        public static final int PREPARE = 2;
        public static final int SEND_CARDS = 3;
    }

    public static class Code {

    }

    public static class ErrorCode {

        public static final int UNKNOW = -1;
        public static final int NO_GAME_JOIN = 0;
        public static final int NO_EMPTY_POSITION = 1;
        public static final int DUPLICATE_JOIN = 2;

    }
}
